<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
  <key>items</key>
  <array>
    <dict>
      <key>assets</key>
      <array>
        <dict>
          <key>kind</key>
          <string>software-package</string>
          <key>url</key>
          <string><%= @release.download_url %></string>
        </dict>
        <% if @release.icon && @release.icon.file && @release.icon.file.exists? %>
        <dict>
            <key>kind</key>
            <string>display-image</string>
            <key>needs-shine</key>
            <false/>
            <key>url</key>
            <string><%= @release.icon_url(:medium) %></string>
        </dict>
        <% end %>
      </array>
      <key>metadata</key>
      <dict>
        <key>bundle-identifier</key>
        <string><%= @release.bundle_id %></string>
        <key>bundle-version</key>
        <string><%= @release.release_version %></string>
        <key>kind</key>
        <string>software</string>
        <key>title</key>
        <string><%= @release.app_name %></string>
      </dict>
    </dict>
  </array>
</dict>
</plist>
